home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Musik / Misc / Amster / Source / include / download.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-27  |  835 b   |  44 lines

  1. /*
  2. ** Download Header
  3. */
  4.  
  5. #include <sys/types.h>
  6. #include <libraries/dos.h>
  7.  
  8. #include "include/napster.h"
  9. #include "include/thread.h"
  10.  
  11. #ifndef AMSTER_DOWNLOAD_H
  12. #define AMSTER_DOWNLOAD_H
  13.  
  14. extern int dl_count;
  15.  
  16. #define DL_ADD        0x1003
  17. #define DL_START      0x1004
  18. #define DL_UPDATE     0x1010
  19. #define DL_CPS        0x1011
  20. #define DL_PLAY       0x1020
  21. #define DL_ABORT      0x1021
  22. #define DL_RESUME     0x1022
  23. #define DL_CLEANUP    0x1023
  24. #define DL_CHECKQUEUE 0x1030
  25. #define DL_INFO       0x1050
  26. #define DL_SETERROR   0x1051
  27. #define DL_RETRY      0x1052
  28. #define DL_POLLWAIT   0x1053
  29. #define DL_SETDELAY   0x1054
  30.  
  31. enum HandlerFunc {
  32.     DLC_STATE,
  33.     DLC_SIZE,
  34.     DLC_ADDSHARE,
  35.     DLC_UPDATE
  36. };
  37.  
  38. /* Public functions */
  39.  
  40. extern MUIF dl_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg);
  41.  
  42.  
  43. #endif    /* AMSTER_DOWNLOAD_H */
  44.